#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QtGui>
#include "emapwindow.h"
#include "statwindow.h"
#include "alarmwindow.h"
#include "devicewindow.h"
#include "sysconfigwindow.h"
#include "assis\assistWindow.h"

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow {
    Q_OBJECT
public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();
    EmapWindow* GetEMapWindow();
    StatWindow* GetStatWindow();
    AlarmWindow* GetAlarmWindow();
    DeviceWindow* GetDeviceWindow();
    SysconfigWindow* GetSysconfigWindow();
	AssistWindow* GetAssistWindow();


protected:
    void changeEvent(QEvent *e);

private:
    Ui::MainWindow *ui;

private slots:
    //void on_pbnSetManage_clicked();
    void on_pbnSystemSet_clicked();
    void on_tbnExit_clicked();
    void on_pbnDevice_clicked();
    void on_pbnAlarm_clicked();
    void on_pbnStat_clicked();
    void on_pbnHomePage_clicked();
	void on_pbnAssistool_clicked();
};

#endif // MAINWINDOW_H
